package com.nineclock.system.service;

import com.nineclock.common.entity.PageResult;
import com.nineclock.system.dto.SysCompanyUserDTO;
import com.nineclock.system.easyexcel.ExcelMember;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface SysCompanyUserService {

    public SysCompanyUserDTO getCurrentAdmin();

    List<SysCompanyUserDTO> queryCompanyMemberList();

    PageResult<SysCompanyUserDTO> members(Integer page, Integer pageSize, String keyword, Long departmentId);


    void parseExcel(MultipartFile excelFile) throws IOException;

    //导入数据
    void importData(List<ExcelMember> data) throws IOException;

    Integer queryUserCountByDepartmentIds(List<Long> departmentIds);
}
